package cn.tedu.management.building.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class BuildingVO {
    @ApiModelProperty(value = "楼宇id")
    private Long id;
    @ApiModelProperty(value = "所属社区id")
    private Long communityId;
    @ApiModelProperty(value = "楼宇名称")
    private String name;
    @ApiModelProperty(value = "楼宇简介")
    private String remark;
    @ApiModelProperty(value = "楼宇编号")
    private String code;
    @ApiModelProperty(value = "楼宇类型")
    private String type;
    @ApiModelProperty(value = "楼宇层数")
    private Long layers;
    @ApiModelProperty(value = "楼宇户数")
    private Long houses;
    @ApiModelProperty(value = "楼宇设备")
    private String devices;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "消防人员id")
    private Long fireUserId;
    @ApiModelProperty(value = "安全负责人id")
    private Long safeUserId;
    @ApiModelProperty(value = "物业人员id")
    private Long propertyUserId;
}
